package com.yxr.affairs;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yxr.affairs.base.BaseActivity1;

import butterknife.BindView;
import butterknife.ButterKnife;

//关于我们
public class AboutActivity extends BaseActivity1 {
    @BindView(R.id.ll_top_view)
    LinearLayout llTopView;
    @BindView(R.id.user_feedback_goback)
    ImageButton userFeedbackGoback;
    @BindView(R.id.activity_message)
    TextView activityMessage;

    @Override
    protected int attachLayoutRes() {
        return R.layout.acticity_aboutmessage;
    }

    @Override
    protected void initViews() {

        userFeedbackGoback.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });



        activityMessage.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                  Intent intent = new Intent();
                //SoilsenerActivity.class为想要跳转的Activity
                intent.setClass(mContext, Webview.class);
                startActivity(intent);
            }
        });
    }

    @Override
    protected void updateViews(boolean isRefresh) {

    }

    @Override
    protected void onError_(Throwable e) {

    }

    @Override
    protected void onCancel_() {

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }
}
